import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "./assets/css/global.css"  // 全局样式
import "./assets/css/normalize.css" // 浏览器样式清零
// import { Edit,Search } from '@element-plus/icons'  //图标需要分开导入，按需导入图标
// import { ElButton,ElContainer,ElAside,ElHeader,ElMain } from 'element-plus';   //按需导入
import ElementPlus from 'element-plus' // 完整引入
import 'element-plus/dist/index.css' // 完整引入样式
import 'dayjs/locale/zh-cn' //中文
import locale from 'element-plus/lib/locale/lang/zh-cn' //中文
import "./assets/icon/iconfont.css" 
const app = createApp(App)
//注册组件
// app.component("edit", Edit)
// app.component("search", Search)
// app.component('ElButton',ElButton)
// app.component('ElContainer',ElContainer)
// app.component('ElAside',ElAside)
// app.component('ElHeader',ElHeader)
// app.component('ElMain',ElMain)
app.use(ElementPlus, {locale}).use(store).use(router).mount('#app')
